Skip to content

fix Snack player re-initializer on custom pages#4877

Merged
Simek merged 1 commit into
mainfrom
@simek/fix-snack-observer
Nov 12, 2025
Merged

fix Snack player re-initializer on custom pages#4877
Simek merged 1 commit into
mainfrom
@simek/fix-snack-observer

Conversation

@Simek

@Simek Simek commented Nov 12, 2025

Copy link
Copy Markdown
Collaborator

Why

Fixes an error visible in browser logs and responsible for throwing during local development related to recently introduced Snack player re-initializer.

Refs:

How

Verify if .container node exist before starting to observe. It could be not present on custom pages, which are not based on MDX content.

@netlify

netlify Bot commented Nov 12, 2025

Copy link
Copy Markdown

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit e7c6088
🔍 Latest deploy log https://app.netlify.com/projects/react-native/deploys/691447be7231cf000820d30e
😎 Deploy Preview https://deploy-preview-4877--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Simek Simek enabled auto-merge (squash) November 12, 2025 08:42
@Simek Simek merged commit 7135bdc into main Nov 12, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants